package com.ibeeking.found.upms.service.mapper;

import com.ibeeking.found.upms.service.common.dos.OpenUserDO;
import com.ibeeking.found.upms.service.common.po.OpenUserPO;
import com.ibeeking.found.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName OpenUserMapper
 * @Description
 * @Author ibeeking
 * @Date 2021-03-31 16:41
 **/
public interface OpenUserMapper extends BaseMapper<OpenUserDO> {

    OpenUserPO queryByAppId(@Param("tenantIds") List<Integer> tenantIds, @Param("appId") String appId);

    List<Long> checkUnion(@Param("tenantIds") List<Integer> tenantIds, @Param("appId") String appId);
}
